cmake_minimum_required(VERSION 3.8.0)
project(myapp)
add_subdirectory(../dlib dlib_build)
include_directories(${OpenCV_INCLUDE_DIRS})
find_package(OpenCV REQUIRED)
add_executable(basic_capture basic_capture.cpp)
target_link_libraries(basic_capture dlib::dlib ${OpenCV_LIBS})
add_executable(basic_face_detect basic_face_detect.cpp)
target_link_libraries(basic_face_detect dlib::dlib ${OpenCV_LIBS})
add_executable(capture_detect capture_detect.cpp)
target_link_libraries(capture_detect dlib::dlib ${OpenCV_LIBS})